import request from '@/utils/request'

//获取图片源数据
export function getPicSourceData(params) {
	return request({
		method: "get",
		url: "sysPicSource/query",
		params
	});
}

//新增图片源数据
export function addedPicSource(data) {
	return request({
		method: "post",
		url: "sysPicSource/add",
		data
	});
}

//修改图片源数据
export function updatePicSource(data) {
	return request({
		method: "post",
		url: "sysPicSource/update",
		data
	});
}

//删除图片源数据	
export function deletePicSource(data) {
	return request({
		method: "get",
		url: "sysPicSource/delete/" + id
	});
}

//图片源详情
export function picSourceDetail(id) {
	return request({
		method: "get",
		url: "sysPicSource/query/" + id
	});
}